<?php

/**
 * Flickr Photosets - Help Page
 * Contains help topics.
 * 
 * @author Brad Dougherty <bdougherty@gmail.com>
 * @version 8.4.27
 * @license http://www.gnu.org/licenses/gpl.html GNU General Public License 3.0
 */

/*
Require the function library
This will include all other necessary files
*/
require_once 'lib.php';

/*
Initialize Flickr Photosets
*/
$fp = new FlickrPhotosetsCanvas(FlickrPhotosetsCanvas::uid_from_viewer);

?>

<fb:title>Help</fb:title>
<?=$fp->get_stylesheet('help')?>
<?=$fp->get_header('help', $fp->application_name.' Help', true)?>

<div class="big_indent">
	
	<h2 class="underline">Flickr Photosets FAQ</h2>
	<p><fb:intl>
		These are some frequently asked questions about Flickr Photosets. If your question is not answered here, {submit}.
		<fb:intl-token name="submit">
			<a href="http://www.facebook.com/board.php?uid=<?=$fp->app_properties['app_id']?>"><fb:intl desc="submit your question">submit your question to the discussion group</fb:intl></a>
		</fb:intlvar>
	</fb:intl></p>
		
	<div class="faq">
		
		<?php $fp->echo_help_item(
			'Are you working on any new features?', 
			'Yes, we&#8217;re always working on something new. You can take a look at all of the new features in the works on the <a href="http://code.google.com/p/flickr-photosets/issues/list?can=2&q=type%3AEnhancement&colspec=ID+Type+Status+Priority+Milestone+Opened+Owner+Summary&cells=tiles">Google Code page</a>.'
		); ?>
		
		<?php /* $fp->echo_help_item(
			'Are there any known issues with Flickr Photosets?', 
			'Yes. The following are known issues:<ul>
				<li>Some users are unable to refresh their profile box, or refreshes take a long time. See the help item under the &#8220;Profile Box&#8221; section.</li>
			</ul>'
		); */ ?>
		
		<?php $fp->echo_help_item(
			'How do I properly remove the application from my Facebook account?', 
			'First, go to the <a href="'.$fp->canvas_url.'/configure.php">configuration page</a> and click Remove Account under Flickr Account. You will be presented with an option to Revoke your Flickr account permissions. You should do this by checking the box and clicking the Revoke Permissions button. Then click the continue link. Then proceed to your <a href="http://facebook.com/editapps.php">Edit My Applications</a> page and click Remove next to '.$fp->application_name.'.'
		); ?>
		
		<?php $fp->echo_help_item(
			'Do views on Facebook count towards the view count on Flickr?', 
			'No. Unfortunately there is no way to make the view count on Flickr increase. It is just for views on Flickr.'
		); ?>
		
		<?php $fp->echo_help_item(
			'What about collections?', 
			'Unfortunately, Flickr does not allow external applications to access information about collections. As soon as Flickr adds this, collections will be enabled in '.$fp->application_name.'.'
		); ?>
		
		<?php $fp->echo_help_item(
			'So '.$fp->application_name.' is open-source?', 
			'Yes it is! I&#8217;ve done this because I think it will help the application in the long run. I don&#8217;t have lots of time to devote to the application, so I hope that by doing this I can receive help from some people in adding new features to '.$fp->application_name.'. You can find out more information on the <a href="'.$fp->canvas_url.'/open_source.php">Open Source</a> page.'
		); ?>
		
		<?php $fp->echo_help_item(
			'How can I help out?', 
			'First you can go to the <a href="http://code.google.com/p/flickr-photosets">project page</a> on Google Code and take a look around at the wiki documents and issues. You can also check out a copy of the latest code with subversion. If you wish to participate, you can just submit your code using the guidelines described <a href="http://code.google.com/p/flickr-photosets/wiki/PostingNewCode">here</a>. You could also <a href="http://www.facebook.com/inbox/?compose&amp;id=1470030056">send a message to the developer</a>.'
		); ?>
		
		<?php $fp->echo_help_item(
			'What data do you store?', 
			'In addition to your configuration data, we store your Facebook ID, Flickr NSID, and Flickr Token. The IDs of the last photo uploaded to your account and a list of your Photoset IDs are also stored so that we can generate news feed stories. When you remove the application, all of this data is removed permanently from the database.<br/><br/>We also log the following information: when you add the application, when you remove the application, when you update your profile (including where you updated it from), when a notification is sent (including what type: new photo or new photoset), when you add a tag to a photo, and when you remove a tag from a photo. The logs serve two primary purposes: for troubleshooting and for seeing how the application is being used. IDs and other personally identifiable information (with the exception of your Facebook ID) are removed from the logs after 3 weeks. Logged information is removed from the database after no more than 3 months.'
		); ?>
		
		<?php $fp->echo_help_item(
			'Are you affiliated with Flickr?', 
			'No. This product uses the <a href="http://flickr.com/services/api/">Flickr API</a> but is not endorsed or certified by <a href="http://flickr.com">Flickr</a>.'
		); ?>
		
		<?php $fp->echo_help_item(
			'Are you affiliated with Facebook?', 
			'No. This product is not created or endorsed by <a href="http://www.facebook.com">Facebook</a>.'
		); ?>
		
		<div class="question">
			<a href="#" clicktotoggle="ans_donate">I love this app! Do you accept donations?</a>
		</div>
		<div id="ans_donate" class="answer" style="display:none;">
			I do accept donations. This site costs me money to operate, so any donation is accepted.
			<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
				<fb:editor-button name="submit" value="Make a Donation" />
				<input type="hidden" name="cmd" value="_s-xclick">
				<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYAzNweDNwpc+OhyjUYC2gw3pq8AzQys8cIyqad/itmbapyDU9CAF/pfVJ2YviNJV9Jw/ptuSkHt8ta6fhSvTox/S8RQm76Km0WO+hHPABrhCc5xWC6lGTTdGmc3yWsEdNWw3npHu5s9y//QOlC75JWHOPgUfIaUZYVsjX7/IIbwPTELMAkGBSsOAwIaBQAwgcQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIPVN6TUJcTVWAgaDZPR1ZcvVV2ghrGrkNqktGk4rhVPiuRuTtPYUnpsHfsCt0q7/eaN4K6hg61PjxQGGRP6IX9RymNNSm22uLL8kSmavr99g786T17Os4nU4iXT75zIl7rZ0Q/+cUc4ccUK6g5qwFh1JMEpu2MkUXL8pXTLlcnbu90TepNzKaMzODirh4hpy+MQQ0i+BowzSmY0ol7h98VK6xjmcsTnB9oiuzoIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEw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lDYkqI8OwR8GEYj4efEtcRpRYBxV8KxAW93YDWzFGvruKnnLbDAF6VR5w/cCMn5hzGCAZowggGWAgEBMIGUMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDcwNjE5MDMyMjEzWjAjBgkqhkiG9w0BCQQxFgQU9i4cB0+kwtXsBZ2ElcYQGegVPPMwDQYJKoZIhvcNAQEBBQAEgYAF6ULg0e2v41yVkdwcgsiMmTsanOd7jhjLZe02PhfF9MXsazNWoy1SYYxuCMlIzC9+3SRcTIyTdIAwVDZQ6fA6CSKAhtwpM3tXZ8yQuG9rhoeoKKTQarUKFMSt9MII7ecWEt1BF8cLIyNhsp45rhikXOsy5fgvCt/lqZ5ICJIiRg==-----END PKCS7-----
				">
			</form>
		</div>
		
	</div>
	
	<? /*
	<h2 class="underline">Photo Tagging</h2>
	<div class="faq">
		
		<?php $fp->echo_help_item(
			'Why are photos of my friend that I tagged using the app not showing up when I go to the "Photos of xxxxx" page?', 
			'You will need to change a preference in Flickr to fix this.
			<ul>
				<li>Go to the <a href="http://www.flickr.com/account/?tab=privacy">Privacy &amp; Permissions page</a> in your Account settings at Flickr.</li>
				<li>Click edit next to "Hide your photos from public searches".</li>
				<li>Make sure that "Hide your photos from searches on 3rd party sites that use the API?" is un-checked and click Save.</li>
			</ul>'
		); ?>
		
	</div>
	*/ ?>
	
	<h2 class="underline">Profile Tab</h2>
	<div class="faq">
		
		<?php $fp->echo_help_item(
			'Where is it!?', 
			'We\'re working on getting it up ASAP, but we have to figure out what we\'re putting on it first! <a href="http://flickrphotosets.tumblr.com/post/48795035/profile-tab">Tell us what you want on it.</a>'
		); ?>
		
	</div>
	
	<h2 class="underline">Profile Box</h2>
	<div class="faq">
		
		<?php $fp->echo_help_item(
			'My profile box won\'t update!', 
			'Due to a change in the way Facebook handles setting the code for the profile, your profile may stop updating. Using the &#8220;Refresh Photos&#8221; link on the profile box should make it start updating again. If you continue to have problems, please <a href="http://rit.facebook.com/inbox/?compose&id=1470030056">send me a message</a> and I will try to fix it.'
		); ?>
		
		<?php $fp->echo_help_item(
			'Why is there still stuff on my profile when I disable the profile?', 
			'This is because Facebook does not provide a way for this app to remove the profile box. So if you uncheck the box next to profile, '.$fp->application_name.' will set your profile to display nothing. When this happens, Facebook will put "No content to display." in the box. If you want to remove the profile box entirely, you can do so by clicking the &#8220;x&#8221; in the upper right corner of the profile box and then click Remove Box. (Keep in mind that if you remove the profile box this way, the only way to get it back is to remove the application and add it again.)'
		); ?>
		
		<?php $fp->echo_help_item(
			'Why can I only show 30 photos or sets on my profile?', 
			'The Flickr API Terms of Use forbid the display of more than 30 Flickr photos per page.'
		); ?>
		
	</div>
	
	<h2 class="underline">Flickr Account</h2>
	<div class="faq">
		
		<?php $fp->echo_help_item(
			'How do I change my Flickr Account?', 
			'In order to change your Flickr account, first click on the "Remove Account" button on the <a href="'.$fp->canvas_url.'/configure.php">configuration page</a>. When prompted, you should revoke the permissions on your Flickr account by checking the box and clicking the Revoke Permissions button. Then click the continue link. Next, you should log off of your current Flickr account. Finally, you can go back to the configuration page and click the "Authenticate" button to authenticate your new account.'
		); ?>
		
		<?php $fp->echo_help_item(
			'Why do I have to authorize my Flickr account?', 
			'Authorization is required for three reasons. 
			<ol>
				<li>It\'s the easiest way to connect your Facebook account with your Flickr account.</li>
				<li>It ensures that you are the only one that can connect your Flickr account to your Facebook account.</li>
				<li>Allows for private and semi-private photos to be shown on Facebook.</li>
			</ol>
			If you have any questions about or trouble with the process, ...'
		); ?>
		
	</div>
	
	<h2 class="underline">Updates</h2>
	<div class="faq">
		
		<?php $fp->echo_help_item(
			'What&#8217;s changed in the latest update?', 
			'Tons of things!
			<ul>
				<li>Only available on the new Facebook profile</li>
				<li>Can install on the new profile</li>
				<li>Streamlined install/authorize process</li>
				<li>New design for the new profile</li>
				<li>Header design improved and made consistent</li>
				<li>New embedded Flickr slideshows</li>
				<li>Improved maps</li>
				<li>Facebook commenting on photos and photosets</li>
				<li>Simplified configuration page</li>
				<li>More detailed location info (when available)</li>
				<li>Profile Info tab section</li>
				<li>Profile box on wall/info tab</li>
			</ul>'
		); ?>
		
	</div>
	
</div>

<?=$fp->echo_footer(true)?>